<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<base href="<?php echo $this->config('themeurl'); ?>/" />
	<title><?php echo $this->config('sitename') ?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link href="css/style.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript">
	// <![CDATA[
	jQuery(document).ready(function(){
		$('#contactform').submit(function(){				  
			var action = $(this).attr('action');
			$.post(action, { 
				name: $('#name').val(),
				email: $('#email').val(),
				company: $('#company').val(),
				subject: $('#subject').val(),
				message: $('#message').val()
			},
				function(data){
					$('#contactform #submit').attr('disabled','');
					$('.response').remove();
					$('#contactform').before('<p class="response">'+data+'</p>');
					$('.response').slideDown();
					if(data=='Message sent!') $('#contactform').slideUp();
				}
			); 
			return false;
		});
	});
	// ]]>
	</script>
</head>
<body>
<div class="main">
  <div class="header">
    <div class="block_header">
      <div class="logo"><a href="<?php echo $this->config('baseurl') ?>"><?php echo $this->logoHeader() ?></a></div>
      <div class="search">
        <form id="form1" name="form1" method="get" action="<?php echo $this->inwebUrl(array(),'search',true) ?>">
          <label>
            <input name="keyword" type="text" class="keywords" id="textfield" maxlength="50" />
            <input name="b" type="image" src="images/search.gif" class="button" />
          </label>
        </form>
      </div>
      <div class="clr"></div>
      <div class="resize_menu">
        <div class="menu">
          <?php echo $this->pageNav('main',array('style'=>'ul-li-a-span')) ?>
        </div>
      </div>
      <div class="clr"></div>
    </div>
  </div>
  <div class="main_body_resize">
    <div class="main_body">
      <div class="slider2">
        <div class="text_h2">
          
        </div>
      </div>
      <div class="clr"></div>
    </div>
  </div>
  <div class="body_resize">
    <div class="body">
      <div class="side_left">
        <?php echo $this->pageNav('left') ?>
      	<?php echo $this->widget('left') ?>
      </div>
      <div class="side_content">
        <?php if ( $this->page['page_alias']!='home' ): ?><h2><?php echo $this->page['page_title']; ?></h2><?php endif; ?>
        <?php echo $this->layout()->content ?>
      </div>
      <div class="side_right">
        <?php echo $this->pageNav('right') ?>
      	<?php echo $this->widget('right') ?>
      </div>
      <div class="clr"></div>
    </div>
    <div class="clr"></div>
  </div>
  <div class="footer">
    <p>Copyright &copy; <?php echo $this->config('sitename') ?><br />
      <?php echo $this->pageNav('footer',array('style'=>'a-|')) ?></p>
  </div>
</div>
</body>
</html>